package org.dfl.plugin.views.palette.model;

import org.eclipse.gef.Tool;
import org.eclipse.jface.resource.ImageDescriptor;

/**
 * entry that represents folder in a PaletteView
 * @author Piotr Wlodarczyk
 *
 */
public class FolderPaletteEntry extends AbstractPaletteEntry{
	private String label;
	
	public FolderPaletteEntry(String label) {
		super();
		this.label = label;
	}

	@Override
	public ImageDescriptor getImage() {
		return createImage("icons/eclipse/fldr_obj.gif");
	}

	@Override
	public String getLabel() {
		return label;
	}

	@Override
	public Tool getTool() {
		return null;
	}

	@Override
	public Object getTransferTemplate() {
		return null;
	}

}
